package rkdwogus7;

import java.util.Scanner;

public class J08_SungJukV2Practice {

	public static void main(String[] args) {
		
		
		final String LINE = "----------------------------------------";
		final String SEATNO = "1\t2\t3\t4\t5\t6\t7\t8\t9\t10";
		int isLoop = 1;		/*중단하고 나갈 경우*/
		int a[] = new int [10];
		String o = "o";
		
		while(isLoop != 0) {
			System.out.println("[ \t극장 \t예약 \t시스템 ]");
			System.out.println("현재 예약 상태는 다음과 같습니다.");
			System.out.println( LINE );
			System.out.println( SEATNO );
			Scanner sc = new Scanner(System.in);
			System.out.println("좌석을 예약하세요.\t[ 0: 종료 ]");
			isLoop = sc.nextInt();
			if (isLoop == 0) {
				System.out.print( "x" );
			}
			
			
			
		}
		
		
		


	}

}
